package com.example.anno.utils;

import org.springframework.context.ApplicationContext;

import java.util.Map;

public class Utils {

    public static void printBeanName(ApplicationContext context) {
        for (String beanName: context.getBeanDefinitionNames()) {
            System.out.println(" -> " + beanName);
        }
    }


}
